<let/count = 0/>

<button 
  onClick() {
    {
      count++;
    }
  }>
  ${count}
</button>